package service;

import org.apache.ibatis.annotations.Param;
import pojo.Notice;

import java.util.List;

public interface NoticeService {
    //发布公告
    int insert(@Param("author") String author, @Param("tittle")String tittle, @Param("time") String time, @Param("content") String content);

    //查看公告
    List<Notice> select();
}
